package homework.course.role.state;

import homework.course.role.Classable;
import homework.course.role.Student;

public abstract class StudentState implements Classable {

    protected Student std;
    protected String name;
    protected String information;

    public StudentState(Student std, String name, String information) {
        this.std = std;
        this.name = name;
        this.information = information;
    }

    public String getInformation() {
        return information;
    }

    @Override
    public String toString() {
        return name;
    }
}
